import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

import * as Common from '@/config/common.js'
import request from '@/filter/request.js'
import api from '@/filter/request.js'
import * as zdwwApi from '@/filter/sso_zdww.js'
import _ from 'lodash'
import md5 from 'js-md5'

Vue.prototype.$common = Common;
Vue.prototype.$request = request;
Vue.prototype.$api = api;
Vue.prototype.$eventHub = new Vue();
Vue.prototype.$md5 = md5
Vue.prototype.$zdwwApi = zdwwApi;
// Vue.prototype.request = function(url,method,data,successCallback,completeCallback,failCallback) {
// }
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
